<template>
  <BaseBreadcrumb />
  <BaseTable
    ref="baseTable"
    :columns="columns"
    :params="search"
    :form="form"
    :update-params="formItems"
    :api="prefix.DICT_PREFIX"
    :table-name="'数据字典'"
    :width="800"
  />
</template>

<script lang="ts" setup>
import { formItems } from './forms'
import prefix from '../../../api/api-prefix'
import { ref, reactive, onMounted } from 'vue'
import { columns } from './columns'
import { search } from './search'
import { Dict } from '../../../entity/system/dict'

const form = ref<Dict>({
  description: '',
  label: '',
  sort: '',
  type: '',
} as unknown as Dict)
</script>

<style scoped lang="scss"></style>
